﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Warehouse.Domian.Model
{
    /// <summary>
    /// 盘点明细
    /// </summary>
    public class AccountModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int AccountId { get; set; }
        /// <summary>
        ///  制单人
        /// </summary>
        public string? Preparer { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? DepName { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime AccountTime { get; set; }
        /// <summary>
        /// 盘点类型id
        /// </summary>
        public int TypeId { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartDate { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndDate { get; set; }
        /// <summary>
        /// 仓库Id
        /// </summary>
        public int InventoryId { get; set; }
        /// <summary>
        /// 经办人
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
         
        public string Remarks { get; set; }

        public int LedgerInfoManagement_Id { get; set; }
        /// <summary>
        /// 货物编号
        /// </summary>
        public string? Product_Code { get; set; }
        /// <summary>
        /// 货物名称
        /// </summary>
        public string? Product_Name { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? Product_Status { get; set; }
        /// <summary>
        ///  货品类型   
        /// </summary>
        public string? Product_Type { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? Product_RuleNumber { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? Weight { get; set; }
        /// <summary>
        /// 条码
        /// </summary>
        public string? NumberData { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? Warehouse_Name { get; set; }
        /// <summary>
        /// 库位名称
        /// </summary>
        public string? Please_Name { get; set; }
        /// <summary>
        /// 当前库存
        /// </summary>
        public int? Quantity { get; set; }
        /// <summary>
        /// 库存金额
        /// </summary>
        public double? Money { get; set; }
        /// <summary>
        /// 待入库
        /// </summary>
        public int? Wating_Into { get; set; }
        /// <summary>
        /// 待出库
        /// </summary>
        public int? Wating_Out { get; set; }
        /// <summary>
        /// 可出库存
        /// </summary>
        public int? Storage_Unit { get; set; }
        /// <summary>
        ///可用库存金额
        /// </summary>
        public double? Storage_Money { get; set; }
        /// <summary>
        /// 期初库存
        /// </summary>
        public int? Start_Unit { get; set; }
        /// <summary>
        /// 期末库存
        /// </summary>
        public int? End_Unit { get; set; }

    }
}
